package app.stm.sync 
{
	import app.stm.*;
	import net.Mission;
	
	/**
	 * 同步系统
	 * @author gcxk721
	 */
	public class SynchronizationSystem extends BaseSystem 
	{
		
		private static var _instance : SynchronizationSystem = new SynchronizationSystem();
		
		public function SynchronizationSystem() 
		{
			if (_instance != null)
			{
				throw new Error("SynchronizationSystem is single instance!");
			}
		}
		
		public static function get instance() : SynchronizationSystem
		{
			return _instance;
		}
		
		override public function init():Boolean 
		{
			return true;
		}
	
		override public function get serverId():uint 
		{
			return 0;
		}
		
		override public function handleMission(mon:Mission):void 
		{
			
		}

		override public function onCommnuication(key:*, data:* = null):void 
		{
			
		}
		
	}

}